import App from './App'
import Store from './store'

// vue2版本
// #ifndef VUE3
import Vue from 'vue'

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
	Store,
	...App
})
app.$mount()
// #endif


// vue3版本
// #ifdef VUE3
import {
	createSSRApp
} from 'vue'

export function createApp() {
	const app = createSSRApp(App)
	app.use(Store)
	return {
		app
	}
}
// #endif